import axios from '@/fetch'

export function getbsid(data) {
  return axios({
    url: "/document/findone",
    headers: {'Content-Type': 'application/json'},
    method: "post",
    params: data
  })
}

export function auditbs(data) {
  return axios({
    url: "/document/changestatus",
    headers: {'Content-Type': 'application/json'},
    method: "post",
    params: data
  })
}

export function bidid(data) {
  return axios({
    url: "/schedule/changewin",
    headers: {'Content-Type': 'application/json'},
    method: "post",
    params: data
  })
}


export function userjc(data) {
  return axios({
    url: "/schedule/findbyuserid",
    headers: {'Content-Type': 'application/json'},
    method: "post",
    params: data
  })
}

export function auditbzj(data) {
  return axios({
    url: "/schedule/changeauditbail",
    headers: {'Content-Type': 'application/json'},
    method: "post",
    params: data
  })
}

export function upjc(data) {
  return axios({
    url: "/schedule/changeprocess",
    headers: {'Content-Type': 'application/json'},
    method: "post",
    params: data
  })
}
